Skip to content

Conversation

@goto-bus-stop
Copy link
Member

If typescript is installed, add the tsify plugin.

If a syntax error occurs in a .ts file, recommend installing
typescript.

image

TODO: Catch and format errors from the typescript compiler…

image

If `typescript` is installed, add the tsify plugin.

If a syntax error occurs in a `.ts` file, recommend installing
`typescript`.

TODO: Catch and format errors from the typescript compiler.
@goto-bus-stop goto-bus-stop changed the title Add TypeScript support. Add TypeScript support, closes #285 Jan 31, 2018
@goto-bus-stop
Copy link
Member Author

Now also formatting typescript errors:

image

And did some work on syntax error messages for javascript too:
image
(Previously this would only show "Syntax Error")

@yoshuawuyts
Copy link
Member

@goto-bus-stop sick work! Question tho: none of this would work with server rendering, right?

@goto-bus-stop
Copy link
Member Author

Afraid that's correct 😄 that is also going to be an issue for react support with babel. Not sure what to do about that yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants